package org.jeecg.modules.sggg.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.sggg.entity.SgTemplateFive;
import org.jeecg.modules.sggg.mapper.SgTemplateFiveMapper;
import org.jeecg.modules.sggg.service.ISgTemplateFiveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 五辆马车模板
 * @Author: jeecg-boot
 * @Date: 2022-10-26
 * @Version: V1.0
 */
@Service
public class SgTemplateFiveServiceImpl extends ServiceImpl<SgTemplateFiveMapper, SgTemplateFive> implements ISgTemplateFiveService {

    @Autowired
    private SgTemplateFiveMapper sgTemplateFiveMapper;

    @Override
    public List<SgTemplateFive> queryList(SgTemplateFive five) {
        return sgTemplateFiveMapper.queryList(five.getName(), five.getType());
    }

}
